﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DTO;
using BUS;

namespace QuanLyDoiXe
{
    public partial class MH_QuanLy : Form
    {
        public string ID;
        public int MaNV;
        public MH_QuanLy(string ID,int MaNV)
        {
            InitializeComponent();
            this.ID = ID;
            this.MaNV = MaNV;
        }

        private void btThoat_Click(object sender, EventArgs e)
        {
            new MH_DangNhap().Show();
            this.Close();

        }

        private void btTiepNhanXe_Click(object sender, EventArgs e)
        {
            new MH_TiepNhanXe(ID,MaNV).Show();
            this.Hide();
        }

        private void MH_QuanLy_Load(object sender, EventArgs e)
        {

        }

        private void btTiepNhanDiaDiem_Click(object sender, EventArgs e)
        {
            new MH_TiepNhanDiaDiem(ID, MaNV).Show();
            this.Hide();
        }

        private void btPhanCong_Click(object sender, EventArgs e)
        {
            new MH_PhanCong_Xe_TaiXe(ID, MaNV).Show();
            this.Hide();
        }

        private void btLapHoaDon_Click(object sender, EventArgs e)
        {
            new MH_LapHoaDonGiaoHang(ID, MaNV).Show();
            this.Hide();
        }

        private void btCapNhienLieu_Click(object sender, EventArgs e)
        {
            new MH_CapNhienLieu(ID, MaNV).Show();
            this.Hide();
        }

        private void btTraCuu_Click(object sender, EventArgs e)
        {
            new MH_TraCuu(ID, MaNV).Show();
            this.Hide();
        }







    }
}
